package com.share.chapter05;

public class Factorial {
	
	int mNumber = 0;
	long mFacResult = 1;
	
	public void showResult() {
		
		for (int i = 1; i < mNumber; i++) {
			mFacResult = mFacResult * i;
		}
		
		//		
		System.out.println(mNumber + "阶乘是： " + mFacResult);
	}

}
